i = 1
sum = 0;
while i <= 100:
    sum += i
    i += 1

print("1到100的和为：", sum)
